﻿CREATE TABLE [dbo].[Grile] (
    [IDTransa]         INT             IDENTITY (1, 1) NOT NULL,
    [Minim]            DECIMAL (18, 5) NOT NULL,
    [Maxim]            DECIMAL (18, 5) NOT NULL,
    [Valoare]          DECIMAL (18, 5) NOT NULL,
    [DataValabilitate] DATETIME        NOT NULL,
    [IDTipSpor]        INT             NULL,
    CONSTRAINT [PK_Grile] PRIMARY KEY CLUSTERED ([IDTransa] ASC),
    CONSTRAINT [FK_Grile_TipSpor] FOREIGN KEY ([IDTipSpor]) REFERENCES [dbo].[TipSpor] ([IDTipSpor])
);

